package net.melon.uploader.service.impl;

import net.melon.uploader.service.FileNameRule;

public abstract class AbstractFileNameRule implements FileNameRule {

	protected String getFileExt(String fileName) {
		return fileName.substring(fileName.lastIndexOf("."));
	}

}
